Skip to content

Conversation

ngholiza
Copy link
Collaborator

…ment

  • geddes/Dockerfile: extends postgis/postgis image with PostgREST v13.0.6 binary baked in so it survives container restarts automatically
  • geddes/entrypoint.sh: custom entrypoint that starts Postgres in background, waits for it to be ready, then starts PostgREST in foreground
  • geddes/postgrest.conf: PostgREST configuration (secrets can be overridden at runtime via PGRST_* Kubernetes Secrets env-vars)
  • geddes/README.md: step-by-step build, push, and Rancher deploy instructions

Problem solved: previously PostgREST was installed manually with nohup inside the running container. Every container restart wiped the installation causing the 502 Bad Gateway error seen in the Azure Function logs since Feb 2026.

…ment

- geddes/Dockerfile: extends postgis/postgis image with PostgREST v13.0.6
  binary baked in so it survives container restarts automatically
- geddes/entrypoint.sh: custom entrypoint that starts Postgres in background,
  waits for it to be ready, then starts PostgREST in foreground
- geddes/postgrest.conf: PostgREST configuration (secrets can be overridden
  at runtime via PGRST_* Kubernetes Secrets env-vars)
- geddes/README.md: step-by-step build, push, and Rancher deploy instructions

Problem solved: previously PostgREST was installed manually with nohup inside
the running container. Every container restart wiped the installation causing
the 502 Bad Gateway error seen in the Azure Function logs since Feb 2026.
@ngholiza ngholiza merged commit 0549e2e into dev Mar 10, 2026
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant